package com.carbon.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.carbon.system.entity.AccountRole;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface AccountRoleMapper extends BaseMapper<AccountRole> {
    // 根据用户ID查询角色ID列表
    List<Long> selectRoleIdsByAccountId(@Param("accountId") Long accountId);

}